﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TwipPlays
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            if (System.Environment.Version.Major >= 4 )
            {

                //Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Form1());

            }
            else
            {

                if (MessageBox.Show("Missing .NET 4.0 or Higher", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error) == DialogResult.OK)
                    System.Diagnostics.Process.Start("http://www.microsoft.com/en-us/download/details.aspx?id=17851");

            }

        }
    }
}
